package com.ft.oa.enums;

import com.baomidou.mybatisplus.annotation.IEnum;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * 项目立项审核Status枚举类
 * @author hefeng
 * @ClassName ExecProjectCheckStatusEnum
 * @date 2022/1/6 16:48
 */
@Getter
public enum ExecProjectCheckStatusEnum implements IEnum<Integer> {

    PENDING(0,"待审核"),
    PASS(1,"通过"),
    REJECTED(2,"驳回");

    private Integer value;

    @JsonValue
    private String name;

    ExecProjectCheckStatusEnum(Integer value, String name) {
        this.value = value;
        this.name = name;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    public String getName() {
        return name;
    }

}
